package decorator;

public class GpsDecorator extends  Decorator {
private Car car;
public GpsDecorator(Car car){
	super(car);
	this.car=car;
}
	@Override
	public void update(String str) {
		System.out.println("this is Add GPS"+str);
		super.update(str);
		
	}

}
